package com.example.back.service;


import com.example.back.dto.req.BlacklistIpListsReq;
import com.example.back.dto.req.OperatLogReq;
import com.example.back.dto.resp.BlacklistIpListsResp;
import com.github.pagehelper.PageInfo;

public interface BlacklistIpService {

    /**
     * 获取IP黑名单列表
     * @param req
     * @return
     */
    PageInfo<BlacklistIpListsResp> list(BlacklistIpListsReq req);

    /**
     * 新增黑名单IP
     * @param req
     * @return
     */
    Object commitSave(BlacklistIpListsReq req);

    /**
     * 删除IP黑名单
     * @param req
     * @return
     */
    Object commitDel(BlacklistIpListsReq req);
}
